﻿<phone:PhoneApplicationPage 
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
	xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:Microsoft_Web_Media_SmoothStreaming="clr-namespace:Microsoft.Web.Media.SmoothStreaming;assembly=Microsoft.Web.Media.SmoothStreaming"
	xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" xmlns:mwassme="clr-namespace:Microsoft.WebAnalytics.Media;assembly=Microsoft.WebAnalytics.SSME"
	mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="800"
	x:Class="TestApp_WP7.SSMEPage"
	FontFamily="{StaticResource PhoneFontFamilyNormal}"
	FontSize="{StaticResource PhoneFontSizeNormal}"
	Foreground="{StaticResource PhoneForegroundBrush}"
	Orientation="Portrait"
	shell:SystemTray.IsVisible="True">

	<!--LayoutRoot is the root grid where all page content is placed-->
	<Grid x:Name="LayoutRoot" Background="Transparent">
		<Grid.RowDefinitions>
			<RowDefinition Height="Auto"/>
			<RowDefinition Height="*"/>
		</Grid.RowDefinitions>
		
		<!--TitlePanel contains the name of the application and page title-->
		<TextBlock x:Name="ApplicationTitle" Text="{StaticResource AppTitle}" Style="{StaticResource PhoneTextNormalStyle}" d:LayoutOverrides="Height" Margin="12"/>
		<Microsoft_Web_Media_SmoothStreaming:SmoothStreamingMediaElement Grid.Row="1">
			<i:Interaction.Behaviors>
				<mwassme:TrackSmoothStreamingMediaElement/>
			</i:Interaction.Behaviors>
		</Microsoft_Web_Media_SmoothStreaming:SmoothStreamingMediaElement>
		<!--TitlePanel contains the name of the application and page title-->

		<!--ContentPanel - place additional content here-->
		<TextBlock TextWrapping="Wrap" Text="Smooth Streaming Media Element" VerticalAlignment="Bottom" Grid.Row="1" HorizontalAlignment="Right" Style="{StaticResource PhoneTextSmallStyle}" Margin="0,0,12,12"/>
	</Grid>
</phone:PhoneApplicationPage>